define(function(require, exports, module) {
	"use strict";
	require("mui");
	require("jquery");
	var abpdata = require("abpinit");
	var abp = abpdata.abpstart;
	var template = require("template");
	//首页客户列表返回
	var commonBack = require("commonBack");
	mui("body").on("tap", ".client-list-back", function() {
		commonBack.secondBack();
	});
	//钉钉返回
	require('http://g.alicdn.com/ilw/ding/0.8.9/scripts/dingtalk.js');
	var dingTalkNav = require('dd_config');
	//ios
	dingTalkNav.LeftNavBar(commonBack.secondBack);
	//ad
	dingTalkNav.leftAndroid(commonBack.secondBack);
	$(function() {

		var option = {};

		var dataModel = {
			"getType": 1,
			"orderBy": "Number Desc",
			"pageIndex": 1,
			"pageSize": 20
		};

		var page = require("pageui");
		//页面初始化绑定列表数据    
		page.init({
			id: "production-list",
			tempid: "bindProductionList",
			isCache: false,
			pageSize: 20,
			noneMsg: "还没有超高的库存记录哦"
		}, {
			swipeBack: true
		}, abp.services.app.whInventorySafeLevel.getWarningPageList, dataModel).dataLoad(null, 'init');

	});

});